onmessage = function(val) {
    postMessage(val);
}